<?php include("inc/templatetop.php"); ?>

<?php if($_SESSION['location'] == 'teamcontrol'){ ?>
	<?php if(isset($_GET['p']) and $_GET['p'] != ''){ ?>
		<?php include("teamcontrol/".$_GET['p']); ?>
    <?php }else{ ?>
    	<?php include("modules/teamcontrol/announcements.mod.php"); ?>
    <?php } ?>
<?php }else{ ?>
	<?php include("modules/featurecontent.mod.php"); ?>
	<?php include("modules/bannerad.mod.php"); ?>
<?php } ?>

<?php include("inc/templatebot.php"); ?>